package com.sihan.framework.etm.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.framework.mybatis.annotation.AutoGenerator;
import com.framework.mybatis.enums.IdType;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@Table(name="jdx_etm_code_std")
public class CodeSTD implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 码表ID
   */
  @Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO)
	@AutoGenerator(idType = IdType.UUID32)
  private String id;

  /**
   * 码表类型ID
   */
  private String codeSortId;

  /**
   * 码表类型
   */
  private String codeType;

  /**
   * 码表值
   */
  private String value;
  
  /**
   * 码表名称
   */
  private String name;
 
}
